Integrand size = 18, antiderivative size = 130 \[ \int e^{c (a+b x)} \tan ^2(d+e x) \, dx=-\frac {e^{c (a+b x)}}{b c}+\frac {4 e^{c (a+b x)} \operatorname {Hypergeometric2F1}\left (1,-\frac {i b c}{2 e},1-\frac {i b c}{2 e},-e^{2 i (d+e x)}\right )}{b c}-\frac {4 e^{c (a+b x)} \operatorname {Hypergeometric2F1}\left (2,-\frac {i b c}{2 e},1-\frac {i b c}{2 e},-e^{2 i (d+e x)}\right )}{b c} \]
[Out]
Time = 0.16 (sec) , antiderivative size = 130, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {4527, 2225, 2283} \[ \int e^{c (a+b x)} \tan ^2(d+e x) \, dx=\frac {4 e^{c (a+b x)} \operatorname {Hypergeometric2F1}\left (1,-\frac {i b c}{2 e},1-\frac {i b c}{2 e},-e^{2 i (d+e x)}\right )}{b c}-\frac {4 e^{c (a+b x)} \operatorname {Hypergeometric2F1}\left (2,-\frac {i b c}{2 e},1-\frac {i b c}{2 e},-e^{2 i (d+e x)}\right )}{b c}-\frac {e^{c (a+b x)}}{b c} \]
[In]
[Out]
Rule 2225
Rule 2283
Rule 4527
Rubi steps \begin{align*} \text {integral}& = -\int \left (e^{c (a+b x)}+\frac {4 e^{c (a+b x)}}{\left (1+e^{2 i (d+e x)}\right )^2}-\frac {4 e^{c (a+b x)}}{1+e^{2 i (d+e x)}}\right ) \, dx \\ & = -\left (4 \int \frac {e^{c (a+b x)}}{\left (1+e^{2 i (d+e x)}\right )^2} \, dx\right )+4 \int \frac {e^{c (a+b x)}}{1+e^{2 i (d+e x)}} \, dx-\int e^{c (a+b x)} \, dx \\ & = -\frac {e^{c (a+b x)}}{b c}+\frac {4 e^{c (a+b x)} \operatorname {Hypergeometric2F1}\left (1,-\frac {i b c}{2 e},1-\frac {i b c}{2 e},-e^{2 i (d+e x)}\right )}{b c}-\frac {4 e^{c (a+b x)} \operatorname {Hypergeometric2F1}\left (2,-\frac {i b c}{2 e},1-\frac {i b c}{2 e},-e^{2 i (d+e x)}\right )}{b c} \\ \end{align*}
Time = 1.15 (sec) , antiderivative size = 175, normalized size of antiderivative = 1.35 \[ \int e^{c (a+b x)} \tan ^2(d+e x) \, dx=e^{c (a+b x)} \left (-\frac {1}{b c}+\frac {2 e^{2 i d} \left (i b c e^{2 i e x} \operatorname {Hypergeometric2F1}\left (1,1-\frac {i b c}{2 e},2-\frac {i b c}{2 e},-e^{2 i (d+e x)}\right )+(-i b c+2 e) \operatorname {Hypergeometric2F1}\left (1,-\frac {i b c}{2 e},1-\frac {i b c}{2 e},-e^{2 i (d+e x)}\right )\right )}{(b c+2 i e) e \left (1+e^{2 i d}\right )}+\frac {\sec (d) \sec (d+e x) \sin (e x)}{e}\right ) \]
[In]
[Out]
\[\int {\mathrm e}^{c \left (x b +a \right )} \tan \left (e x +d \right )^{2}d x\]
[In]
[Out]
\[ \int e^{c (a+b x)} \tan ^2(d+e x) \, dx=\int { e^{\left ({\left (b x + a\right )} c\right )} \tan \left (e x + d\right )^{2} \,d x } \]
[In]
[Out]
\[ \int e^{c (a+b x)} \tan ^2(d+e x) \, dx=e^{a c} \int e^{b c x} \tan ^{2}{\left (d + e x \right )}\, dx \]
[In]
[Out]
\[ \int e^{c (a+b x)} \tan ^2(d+e x) \, dx=\int { e^{\left ({\left (b x + a\right )} c\right )} \tan \left (e x + d\right )^{2} \,d x } \]
[In]
[Out]
\[ \int e^{c (a+b x)} \tan ^2(d+e x) \, dx=\int { e^{\left ({\left (b x + a\right )} c\right )} \tan \left (e x + d\right )^{2} \,d x } \]
[In]
[Out]
Timed out. \[ \int e^{c (a+b x)} \tan ^2(d+e x) \, dx=\int {\mathrm {e}}^{c\,\left (a+b\,x\right )}\,{\mathrm {tan}\left (d+e\,x\right )}^2 \,d x \]
[In]
[Out]